package cn.cmvideo.springboot.business.repository;

import org.springframework.data.jpa.repository.JpaRepository;

import cn.cmvideo.springboot.business.model.User;

public interface UserRepository extends JpaRepository<User, Integer>
{

	User findByLoginNameAndPassword(String loginName, String password);

	User findByLoginName(String loginName);
}
